/************************************************************************
<4loco-aprs.  This program connects to a specified APRS server and displays
    the information on a map. It's being developed using QT Creator. The project
    began in February and version 1 should be released in April. For more
    information go to http://code.google.com/p/4loco-aprs/>

    Copyright (C) <2011>  <Kyle Roden, Glen Riden, Aaron Smith, Alisa Emerich>

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
**************************************************************************/

#include "connectstatus.h"
#include "ui_connectstatus.h"

ConnectStatus::ConnectStatus(QWidget *parent) :
    QDockWidget(parent),
    ui(new Ui::ConnectStatus)
{
    ui->setupUi(this);
    setWindowTitle("");
    connect(this->ui->pushButton,SIGNAL(pressed()),this,SLOT(buttonPushed()));
    connect(this->ui->pushButton_2,SIGNAL(pressed()),this,SLOT(disconnectButtonPushed()));
}

void ConnectStatus::buttonPushed(){

    emit connectPushed();
}
void ConnectStatus::disconnectButtonPushed(){

    emit disconnectPushed();
}

ConnectStatus::~ConnectStatus()
{
    delete ui;
}
